Refactored thumbor module