Refactor project and platform services

We need this refactoring in order to reuse code for `iOSProjectService`
You can add two overloads, one that takes a string and one that takes a string array.