removed _JEXEC usages, can be replaced later if need be. but should not be in a framework ...
changes to curl class