moved demo in www/demo
slight adjustments to API, improved interface, UX tweaks to API interface