Sets global var for app module, namespaces controllers

injects controllers as dependency into app module