Feature/add rest api