Replacement Engines class by extern variables