Split the backups create API code into its own file.