Fixed some bugs with the tags class
Creating tags functionality added