Tiding packages a little bit

Signed-off-by: Luiz Carlos Cavalcanti <cavalcanti.luiz@gmail.com>
Added threshold segmentation

Signed-off-by: Luiz Carlos Cavalcanti <cavalcanti.luiz@gmail.com>