extracted companyInfo to interface and a corresponding implementation class