Move all flags to the main binary file.

s/API/IP?