Why did you create a singleton object instead of using a service?