Adding imf.py and README in doc