Primeira versao funcional

Signed-off-by: Sergio Castelani <sergio.castelani@gmail.com>