Return server from server.js exported function so that handle can be used later (for instance to .close())