constant class and seed class update

all constants are now in common.Const
add setDefault in seedSegment