add regtool, register api, readme