Cleaned up executable code and added parallel output file tree feature to command line tool.