Fix genre insert bug, move InsertGenre to repo