Added refactored model and synchronized example model
Added diagrams to doc images