fix bugs and add GalleryServlet
Merge pull request #2 from dmedov/add_galery

fix bugs and add GalleryServlet