add entity api to makefile
add entity api to makefile