HomeController and MetricsDao autowired
autowiring
refactoring