Added javadoc and edited Library's instructions doc