Make WorkBlock into an SQLAlchemy model