Restructured the application so that the loading of APIs such as Actions and Slim is separated from the core application code itself.