Fixed namespaces for classes

Now the class name is namespace::class_name