tag folder policy finalized

added code to handle new configuration scheme. added support for ordered
tag folder list.