Switch to FileLocator to search for xml files
Refactor security configuration