add custom messages for errors that are configurable through json. in the future migrate all config files from txt to json. maaaaybe consider memory as json