Added core Engine class