Migrate urls to lib.urls