fixed several issues with validation ... added convenience methods around guid and hash generation ...