add md headings
fix missing returned function
add synopsis
adopt module system
drop grunt