A modular game engine framework