Modular game engine for java