simplify api
add makefile
rename