Finally got the core API loading to work