more refactoring in frontend: moving configs to separate file, renaming Graph to LineGraph, creating TextWidget, refactoring all html text stuff to use TextWidgets, adding 'controls' to configs to specify label and data source for widgets.  NOTE: frontend still needs some work, and probably has errors, but I am having difficulty getting the current client to send data correctly.  Thought I'd get it in anyway