perf(service): upgrade from revealing module pattern to revealing prototype pattern

With the latter, the methods are added in the prototype.