Added validation package, still needs bug fixes