index layout and graphics.

Signed-off-by: dusatzde <zdenek.dusatko@gmail.com>