modified core to simplify index page and auto set navigation to use mod_rewrite for pretty urls