Added initial code for HBS, the AGC emulator