Adding in some basic DB stuff