Updating src, examples and javadocs