Implemented and linked publisher api; fixed class visibilities