add database, configure gallery and hiscore