Gallery Module: database table installation scripts and list view