change datasource to use immutable collection as suggested by scala. tested using local mini raw data.