Reduce duplication by adding get_project_url and get_host_url methods