creates 2 different packages for Java and PHP server