Changed the engine to a singleton with static get() method.