Redesign DefinedFunction, DefCommand to receive parameters in constructor