working on main.cc, game engine