creating models for data extraction forms