stores data in mongo, graph is now dynamic. please forgive me, universe, for the huge commit