code refactoring:
migrated all attributes to use new AttributeDirective class.
added attributes into a new Namespace class.