Directory-based config with multiple app files, pre-processing and post-processing

Instead of being specified individually on the command line, multiple app files are included in a specified directory. In addition custom pre-processing and post-processing code can be included. 

Code is backwardly compatible and the new functionality is invoked with a command line switch