Include API in main file