add services and move data from controller