Core module documentation

Converting documentation to doxygen: core