-- Refactored SimpleDotCom to DotCom.
-- Changed to use ArrayList instead of simple arrays.