move config to code; split abbr analyizing to class