configurando postgress
refatorando as classes de controller