Bring gui validation class in line with cui class
Move validation class to common folder
Remove uneeded files from gui folder

Also, rename main gui source file.