Added gamemanager.cpp implementation