Added a core engine class