Clean up main file.
Clean up optimizer.
Add example nock programs.