Cf340 cf343 cleanup schema

[CF-340/CF-343] Productize Preferences Service - clean up schema
      - Created id column for metadata and used it as foreign key in preferences table
      - Modified Preferences Service
Sorry, we should still copy the file. I just realized the db name could be much simpler/smaller like this.