Making it into a Service

Thanks to Rev for explaining how it works