Game logic moved to separated directory