Engine class was moved to separate file.