Add doxygen comments. Move recording classes to the export package.