Cleans up urls and views and templates