Code (mostly) translated to english language

Signed-off-by: Luiz Carlos Cavalcanti <cavalcanti.luiz@gmail.com>