Integrated unitmanager into game.py