Cleaned routes. So preview. Much doge.
Routes now use id instead of filename. Extra DB lookup but it makes the code cleaner.