Added support for multiple listening ports and made winston accessible

* Added support for multiple listening ports
* Made winston accessible from outside

I tried to follow your coding style, I hope I didn't miss something. Using the server from an application and not as standalone. Very good work, thank you!