Added main Engine class.