'export' for operators
Moved error handling code in errors.js and bug fixes