Converted includes to npm module, added example