Created a seperate file for the main method