Move all flags to the main binary file.

done.