Fix test
Add optimizations
Reorganize standard library: add EH module