added registration, renamed default controller to page controller
navigation displays active page
refactored javascript for sidebar
introduced javascript namespaces