Basic db working. Need to separate code into modules.
Introduced angularjs
Graph working but not updating properly
fix detached head