Make sample 1 and chat work together
Update S1 and S2 readmes and code