Basic photo gallery app using threadPool