Added TagDefineStage
Implemented stage tag parsing