move export of classes to triffid.js