started adding api
api wip