add readme on encoder