Added some scripts for storing index components into a database.