updating index with backbone and segmented scripts
merging index
updated structure of application now that complexity has increased.