First draft for the Engine class.