Javadoced the files in the core directory