add - process view for add model.
add - make tables autoincrement
add - model type field
add - model processing logic