Almost all commands you asked already exists in test.fos and debug.fos, if you want create graphic menu you must look example client_screen_test.fos.
You can run commands from test.fos and debug.fos by command line, for example: ~run debug god 0 0 0 - this command will run function god from file debug.fos