renamed tag.tag to tag.name, and added structs
added initial tagging on creation, also fixed a minor bug where task errors would not be printed out