Declare MyService

Declare MyService and add permission.