simple purity chat example application