Move query endpoint to be project-specific.
Clean up imports.