encapsulate HomeView class; add styles