use uuid module from pkg instead of planet

Signed-off-by: Jan Dvořák <mordae@anilinux.org>
use external throw module for exception raising

Signed-off-by: Jan Dvořák <mordae@anilinux.org>