made more configurable via attrs allow env override , and sqlalchemy support with migrations