Metadata is giving me problems
Added more comments and generated doxygen HTML docs.