added mechanism for initialisation
aadded stsync settings
added demo of oauth authorization via web
added stsync settins for restoration