Adding javadocs to spp-core