change sql structure, fix WifiSpot model, fix one-to-many relationships, implement few wificontroller methods