Started moving everything to c++ so that it can use the headers properly. Almost have the policy engine demo compiling and working again.