Allowed for dependency injection for testing.
Wrote test for Model::getHome()
Making changes to make the code testable.