Renamed publish/subscribe to send/connect
Updated documentation
Some refactoring