Add first version of java classes