Start doxygen docs and final API
Continue cleanup and docs