smart config loader
removed socket.io from this project
middleware encapsulation