added comments to helpers; cleaned demo4; added a setup method to demo3
fixed demo2 + cleanup