add a setup method for db stuff