Removes ugly singleton which formally stored the connected clients and cleans up the code