Finished first version of data selection component.