Refactored ratp job in a class