add db and bootstrap