Added MiniJSON

Uniweb comes with a json script, but MiniJSON is more comprehensive and
can handle Dictionary<string,object>
Reorganized some code
Incremental progress

Removed auth check, was not necessary
Added prefs class for easy saving and retrieval of stored values