Refactoring of createModel
Help added (issue #6).
Need to be created a test to verify this code (issue  #8)