build: split up the build system to allow for better board support

this will make it easier to support boards like the VRBrain
AC: converted the throttle mid-point control function into integer math from Float for speed