Extract out SRC encoder into its own module