added the db creation part.