added categories, pretty urls, new page methods