A lightweight modular game engine