remove unused stuff. implemented TagManager