create examples directory with sample programs. updated demo to get
example text with an ajax call.