Added validation package and modified views