Completed the main program and created base files for the modules