use integer for delays given in milliseconds

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

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