Refactored tweet operation into Tweet model.