Fix controller to work with datapath correctly. PC now works properly.