Revert "Rewrite main_load_content"

This reverts commit d3704dd4783605fa09bba3b09f9d2e5fd1b3b71f.
(Frontend) rewrite load_content for menu and frontend