Refactor project and platform services

We need this refactoring in order to reuse code for `iOSProjectService`
you can simplify the signature for `args` by using open-ended arguments: `...args: any[]`