Messages modified

The sql file modified .. message_id, foreign keys introduced
the new Get message implemented
Checked fully