Namespace changes

Changed the namespace from
using namespace std;
to std::xyz.