Added worklist.
Remove and ignore compiler-generated files.
Simplyfy code. Make it clojuer.