FagNet Emulator Source code