Move to requirejs and add basic webpage to call existing functionality