Added Javadoc documentation. Added License.