refactor merge code, add label code; update README