Adds the model.py generation with sqlite procedure