restructured app and fixed requirejs bugs that were making it not work in chrome. chrome still has other issues which need to be investigated