constructor injection and inner object for csv