Create API Locator function and so on