basic persistance layer. refactor some parts of the conversation activity