Windows program to create the xml and metathumb files

is there anyway to modify this into a database? I have thousands of files that I would like to organize into one central database capable of loading a portable hard drive and like the hub does obtain the xml and metathumb files and then editing the way the titles are displayed so the order of the tv shows over 10 episodes  doesnt go

tvshow x s1 ep 1

tvshow x s1 ep 10

tvshow x s1 ep 11

tvshow x s1 ep 12

tvshow x s1 ep 13

tvshow x s1 ep 2

but would look more like it should like

tvshow x s1 ep 01

tvshow x s1 ep 02

tvshow x s1 ep 03

tvshow x s1 ep 04

tvshow x s1 ep 09

tvshow x s1 ep 10

tvshow x s1 ep 11

or for movies with more than 1 part

like i have saving private ryan and 3 700mb files for it but it displays only the title so untill you try to play you dont know which is part 1 or 2 or 3 i want to rename the displayed text for it showin part 1, part 2 or part 3 and then it sorts it as well in the correct sequence.