first working version. Peering possible, switching possible, buttons work. No current detection implemented