refactors ports service
atualiza doc