Added javadocs and readme