Add Initialize and CleanUp methods to Engine class.