changed HRService and startup class
Used DIP in HRService to make it independant