Db migrate

Add db migrate functionality for schema mgmt

@gaitonde and @kbowerma stuff your you to look at.