Changed .flags to .cflags and added .gflags

Changed .flags to .cflags to fix issues with current admin commands and added .gflags for global flags.