initial api/cli