Import the main home page content
Rearrange code a bit