datapath complete for p1, need micro-controller and need to figure out states