MVC style game engine in Java