Remove boost::regex dependence
Removed G4Application references where possible