broke gallery out into submodule