A computational framework for constitutive modelling. (15th July 2017)