Further refactoring, adding pir.h/pir.cc as well as (not working yet) test_pir.cc. Eventually pir.cc will take the control flow.