generic model corrected

simulation initial implementation (incomplete)
Merge pull request #7 from jcmunozf/development

generic model corrected and initial simulation backend implementation