Making a class with utils to reuse db connection

Signed-off-by: José Luis Di Biase <josx@interorganic.com.ar>
Using utils as object

Signed-off-by: José Luis Di Biase <josx@interorganic.com.ar>