add readme, finish example code