Easy implementation of models written in python