Added composer dependency management
Fixed bug where globals were not available to config mechanism
Fixed bug where tag parsing occurred more than once.
Removed legacy/unused code

Change-Id: I6385275f6ffacfd7b50c9e0b1686daceef50c8e0