add interface
Merge pull request #1 from zhufu/feature/addinterface

add interface