copied the files from nuances old demo to this sample project