changed views to have file structure