Creation of engine class