change readme + add API