reorganize code
added java dir
basic build working