Added routing. Pages now return controller constructer. Added requirejs for module loading. Input elements update properly now.