added benchmark for Has() and some cleanup
add some documentation
some cleanup