Builds the app
Creates a Globals service to detect environment