Efficient photo album web application written in C++/Wt