wip-Development

working on tests next
use some db middleware for this. I think flask has some that's basically free for sqlalchemy