Some part of refactoring and new pull request class