added svg chart with pygal, autoreload and simple state