Added openhab status
Fix refactor bugs
Refactor of sockets and groups