add main model
fix error and factorired code
Merge pull request #7 from rodrigoarino/ra/AddModels

Ra/add models