Initialized the API