added lib and services

added gson by hand and added some services for the settings and login
stuff