added G4 namespace in classes