Api integration structural changes

- Updating the code and mockHttpBackend.js to align with the values provided by the API.
- Merging this pull request will make the code interact with the Dev API, not the mock backend.