Runtime linkage implementation (WIP).
Add index.js, cleaner runtime library linkage.