Added create & upgrade database scripts and wired database creation into vm provisioning.