Fixed Order Of Tournaments

Now the order of tournaments is due to the priority. Also, the server
now is fully ready for processing the security code generation,
validation & message sending to the user.
Weird Commit

Old class file is deleted.