Creates models with primary keys and basic validation