Started on adding an api. Created a class to encapsulate service responses.