set up basic templates and create a homepage view