Main view and coloring labels

- created a view for the main page and moved associated things to it
- created code to dull the color of labels that aren't clicked on
- starting to create d3 lines