Code was rewrited

- Removed NPCType, ModeType, Mode, ModeManager