utility for portable model definition with sqlalchemy