Adding Database boilerplate