Some code docs as requested by eurich :P

Signed-off-by: emanuele <emanuele45@gmail.com>