Added parser.py with support for batch processing.