added visualizer class
enhanced visualizer
added key events
better html