Refactored wsService: it's finally. clean. <3