Refacted GMmol to iview. Used 3krv as example