Refactored thumbnailer into main project.
Refactored thumbnailer into main project.