simplify api
add readme and license