implemented nav bar; split up classes into files