Added DB commands: upgrade and create_schema. Removed sync command. Change-Id: I1c4e2c36ba675cfbbbde3b038067f73c98c150ff