Refactor project and platform services

We need this refactoring in order to reuse code for `iOSProjectService`
This can be done right after the `npm.install`.