refactored all of the framework to the Rack as the Facade