Refactor: Add comments & remove useless code
Optimize main module with O3.
Optimize main module with the given opt level