Converted home page to controller to inject values from config.  Also
changed to using factory pattern to provide prototype scoped objects to
singleton controllers.