Added Tests for socketEvents

Removed CF specific code (port) from index.js
Updated User Stories