Generating the code in the single model/index.js file.
Option to generate separate file per model.
Fixing the tests.