Restructure main page