rearranged js files, updated path names in index.html. soon to have modular js files