updated the readme, tools.js now extends types.js