I'm curious to know if there is any kind of application that will organize movies (avi/xvid/mpeg etc).

What I would like is to to be able to search/grab data from IMDB or other database, and then be able to organize the actual directories structure and file name based on that. (for example "/Videos/[Genre]/Name [Year].avi" or something similar.

Something that also contained a library of videos with the same type of database grab would be sufficient as well, although not as ideal as the above.

I'm thinking something similar to how musicbrainz is, only for movies.