fixed database config, added event-stream to package.json