Add API doc, code quality and measurements