Split configure_folderviews to allow external package to use it