Significant changes to gallery in preparation for polls integration
Updated db, created new directory for config files