Worked more on configuration and made a command line interface for preprocess.