bootstrap and begin database