Refactor tag reading lib and remove tagpy support. Tests not yet updated