Add proper code exmaple and attributions to README