fixing some layout stuff and adding a main page to enable navigation.