Use database for players record and motd

Using database table server_config to store the current players record
and message of the day number and hash.
Removed unused functions.