Create defineMethods.py