Added Javadoc and Apache license