Updated the code to work with Apache REEF