Initial commit of some working code for FXS. Still needs a bit to go.