Break ResourceDatabase into its own file.