Removed unused using directives and references. Put directives into namespaces.