moved java out of src to main directory