cleaning up imports in examples
adding JavaDoc build and publish
merge