Added DB creation code. Doesn't actually persist yet.