applied namespace

In order to prevent global spaces, low-level classes have been encapsulated in namespace.