Added new server and client folder. The main app's controller, services and configuration reside in a single module now. Also, modified socket.js service code to make callback work for emit.