modularized game engine, now XEngine