create GalleryController; rearange code order
add header; code image gallery in place for future reference