Separate handlers into its own file.