force project to be compiled using java 8
added generics to the service interface