separating gallery as a proper module
Merge pull request #819 from jtlap/gallery

separating gallery as a proper module