added button for creating directories to resources index page
Added directory view to resources index
Added directory index to resources index page. Also added variable to resources index method for directory listing