created a web socket handler module to have the 'web socket application' in a single module.