Modernizing gameengine.