Starting with the ncurses client, created the api client

Starting with the ncurses client, created the api client