updated docs, bug fixes, updated example page