Dynamic SQLAlchemy orm class creation from YAML files and database manipulation