Real basic plugin structure
Added existing captive portal code