Adding initial version of the Python model.