Organizational refactoring. Created namespaces for host and peer methods.