Some minor refactoring, added Flot
Getting there, added counting, graph and distance effect