Split up sensor black magic into its own file