Major refactor of ebola chart to be OO so that its namespace is safe