Add db creation

Change-Id: I13943642f03da1b23c15fa389ed5cdd7bb5f1483