Remove unused imports, some are breaking the build.
Fallback to apiary if unable to reach a real api.