Change Engine.class to singleton design pattern.