Phantom package can make requests + all tests passing + minor refactorings