Added javadocs
Added LICENCE