Primo commit, logica ok, UI no

Signed-off-by: Claudio d'Angelis <claudiodangelis@gmail.com>