Added some comments and added a nav bar to the top