Refactored Dividend, TradeType, Operation and Rent class.