Bugfix: wait for CouchDB to start before running daemon
Removed commented-out code
Daemon: communicate active peers to ERS library through CouchDB