added yuidoc and documentation