Created a model layer to handle message insertion
Moved model to be accessible on both side

Added a field to for message and for last_message
Added .DS_Store to ignore