Added db instance build function
Add db creation function
newline added, user creation added