Refactored filemanager into two classes: routemanager and assetscanner.