rename index.js to cuda.js and some small cleanups