Transformed engine in to a class