added base url and prepared the app for html5 history mode