made usable via npm, separate start script
changed exports