I just found a text saying that an application package is considered just a folder under the GPL. And then imservices is just a part in this folder and not included in the application itself.
So there seems to be no problem with this if you take the app as a folder. So my question is solved...