refactors to ci(), prManager now holds the pr too
more refactors