Refactor project and platform services

We need this refactoring in order to reuse code for `iOSProjectService`
You can move this after the other public method in this class.