Initial setup of the DB and the DB stub