* config: update version * refactor: move source codes to lib directory, Close #30 * refactor: move test code