Updated population script to add some views in with the pages
Added helper functions to encode and decode category urls.