Some initial DB stuff

WIP