Added selectedComponentService and renamed CommonModule to commonModule