Added dataSource for segments. IBOutlet datasource allows easy setup from IB

Added dataSource for segments. IBOutlet datasource allows easy setup from IB.