add readme, change interface a little bit