added code for the feeder and cleaned up the PIDs