New Photo Gallery Admin

Partial rewrite.