Added javadocs to dao