integrate angular factory and resource services
added socket.io to server
Add live updates through socket.io