PIE: Add resources

Change-Id: Ia29941cf7a0590b8976a4576b193bbe39ba08266
PIE: Java changes

Still needs some polish

Change-Id: I3f020547e754190242bd4a9d8da5811d23d71dcb