refatoracao das classes MB e service