renamed namespace for cmd line flags to gflags for compatibility with new version, added gitignore