fix some require error
add gitignore
bump 0.4.0