add thumbnailgenerator to Shared Code