refactors HomePage constructor into _setup methods