add model Preference
add empty index router
update Preference model to have each key/value as a field, not as a record
add models.checkSynced
rename router function