Refactor
Socket connetion
Start and stop monitoring with socket implemented