Added services class and controller package