1) add base event dispatcher
2) fix names of methods of ws handler