Wip/add javadocs

Robyn added javadocs.