Updated __init__ to include more modules
Optimized image_handler class to create thumbnails only when needed