Initial commit of the Main Code