Created a Source file for code and moved main.cpp into it