Add in a database parameter so that we can remove it from initEverything