Refactored API and Config, added DSL class. No more singletons now