fix basedir resolve
add readme