restored demo page to original, added separate demo/lib directories