added validation and lgalib for project