Add in support for preferences reading and writing

If we're connected up with google drive, we want to
be able to read and write preferences.