Signal server wrapped as node module & refactored.