Add log.js
Update package.json
Add messageHandler for server
Add eventListeners, subscribe and register function
Run handlers one after the other
Rename messageHandler to eventHandler
Add testAgent.js