Simplify the gui

Signed-off-by: Igor Popov <igor.popov89@gmail.com>
Add an Item class and the corresponding template

Signed-off-by: Igor Popov <igor.popov89@gmail.com>