Change scala object Puller to Class and Inject Database as parameter instead