initial basic API set up