improve readme, add sample code.