Add interface of lib

Have some question in naming