add documentation and some fix
add two new example and minor fixes
found a way to make the code more efficent and deal with the reference, I'll think during the night if is the case to rewrite some code
Working on a new way to return the element and functions