Add documentation to core module.
Ignore build directory.