Removes repository from app
Refactors winner method