Creation of ApiManager