Move all flags to the main binary file.
Fixes from review comments.
Merge pull request #14 from rjnagal/aggregate

Move all flags to the main binary file.