Implemented settings from a tutorial. Not adapted to our purposes yet
Started working on the custom settings
improved gcm