new structure part 1 of 2

changes the structure of how pages load within the course menu from php
based to js/html-template based