Added argument parser for the emulator