Created a class to model the user
Little fix in the JSON syntax
Added some getters to support the class
First draft of a class to communicate with the server
Created class to model up the sockets of the powerstrip.
Signed-off-by: bregell <johan_bregell@hotmail.com>
Created class to model a users powerstrips.

Signed-off-by: bregell <johan_bregell@hotmail.com>
Created a class to model the Consumption of either a socket or a powerstrip.

Signed-off-by: bregell <johan_bregell@hotmail.com>
Merge branch 'api' into login-46902313
Went over from trying to make a connecting my self to suing Johans Bregells User-class
Added so if the app crashes during the LoginActivity then the preferences will be saved