Use inheritance and generalize modelizeResponse. Closes #45