added clear and set methods; updated demo/documentation page