Refactor main app to be a middleware

Drop GlobalSettings class
Added config settings to environment
Created controller base class
Moved all root application logic to cardspring controller
Drop ApiClientManger
version bump