Fixed up PHP module, baseline and added java
Fixed #1