Added the various tables used to store the images/metadata in a postgresql database.