Refactored events
Removed temp variables
Addd thumb utils
Added thumb set utils
Using thumb utils