added java classes and roughed in initial cpp class