Refatoraçao dos controllers, domain e views