Moved name of the database with metadata and name of the directory with usage history databases to constants.