Added javadocs and maven.