clean up code that was moved to userlib
add validation module