Added licenses and a pub/sub library.
Improved synchronization with central server.