new db methods, added docopt to reqs