moved DI in own file, removed  from Core constructor