refactored datasource items and display of data in the outlineview