US25-CodeReview for all packages

Clean code and optimize it in Grid class also delete Validate class to
integrate with Grid class.