Separate the build task into its own file