Removed unused xml namespaces and changed to use constructor injection.
Merge pull request #15 from cgorshing/constructor-injection

Constructor injection