hosting graphing libraries locally

also implemented the server call for getting thresholds, but not really
doing anything with it yet (that's next!)