Added weight parameter to pages and added custom pags_list to preserve order, modified paths in _config and JB/pages_list