Create main.cpp

main logic and render loops for the game.