Fixed bugs in contest recommenders and package refactoring