game logic
Added init to datamanager