updated controllers to have mainbus and access to main app object