Add process helper func
update packages
add jshintrc file
finish test infra setup
add test and fix bugs