*created table for messages, indexed

  *created a model for messages