Move project info retrieval endpoint to `/projects/:pid`. Need to refactor to remove nasty function signature.