A Flexible Modelling Environment for Inverse Modelling,