The engine that runs the whole thing