Completed ApiManager
Completed all of the functions that are needed to interact with the API,
and added comments to the ApiManager class.