Beginning of refactoring code snippets into handlebar.js templates. Nav bar completed