Cleanup: remove #region tags

see
http://www.codinghorror.com/blog/2008/07/the-problem-with-code-folding.html
Cleanup: updated namespaces and cleaned up code
Cleanup: example test case