Home screen is displayed in its own layout

Major code refactoring done to support different layouts for screens.