add basic0 pure java
rename basic1
some cleanup