Created a basic main function