Significant code cleanup. Fixed all XML docs. Removed a lot of redundant usings and scopes.