Added new command line app class to run documents directly from terminal
Fixed merge issue