updated some java-docs,  added gradle files