Adding documentation. Use tags from yuidoc and jsdoc as they sorta work
together until something nicer/perm is found