added DB boilerplate as per this blog post i found
fiddling with postgres
postgres