Move  requests to codeclimate api into extra class