Created an Engine class