Added stdlib.js, more read/write functions, etc

Added stdlib.js, more read/write functions, etc