Now possible to use folders as modules.

Specifying main file via package.json also works.