Fix imports. Add pid to brog struct