Only require the API/Express when using it.

Fixes an issue with the Tessel, which cannot load Express.