refactor remove Application.ws
refactor remove Application.current_app
refactor ws handler call