DataSource update

remove the dataSources from the views and set them into the index.js