added before and after links and start of charts
added redis calls. not tested!
added graph. works well