code clean up.

simple code touchup: namespaces, spacing, bracing.