fix the comment about library syntax on README
revise readme
gather utility functions which are necessary in bootstrap stage
update readme