global engine class

basic cpp and header file for global engine