http://blog.marcosbarbero.com/creating-a-batch-service/
Guide to create a simple batch processing service