move validation of lists to more generic place.
adjust package names to new location.