added hapsim config, added external interrupts