Moved classes into separate namespaces to reduce the likelihood of namespace collisions with other projects.