added constructor for creating non-json based model instance