Added core documentation. Fixed doc makefile