intial build of PID library. have a few things still to do