Minor interface changes to index. Database creation.