updated demo and README with examples and doc