Core module documentation

**WIP**
Converting documentation to doxygen: core