Refactor folder service and show page