Added all API function to API