Updating epc cms and adjusting for non-project specific code.

removed much of the epc specific functions