Added library documentation based on YUIDoc.