Started implementing DataSource pattern found in Apple's sample code.