Model for Document Fields + database scripts