Extracted Interface IDataAdapter in preparation for testing
Added junit tests