Update branch with changes made to connect to api

Update branch with changes made to connect to api