form class with namespaces