clean up code used to serialize types.js to index files
delete types.js
minor code cleanup
rename index files
fix typo