Use route name to generate files app links

Also removes namespaces from class names and fixes the doc block

Fix #156

@DeepDiver1975