refactor resume module