Create a command line interface for the main

put the main_preprocesing in a main function

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information