Declarative layer on top of SQLAlchemy