Change made to the constructor inorder to get number of servers as an
argument for running ecs