Refactoring route/blog for config