Adding java and scala packages