Added core data model to handle chat storage