add inputsystem and inihelper but some buggy code in inputsystem