Refatorar servicos