Fixed some boiler plates. Finished up PhEDEx comments and functions