Removed depecrated use Status enum.

Signed-off-by: Kavith Thiranga Lokuhewage <rc404mekt@gmail.com>
Refactorings to support new Guava API
Signed-off-by: Kavith Thiranga Lokuhewage <rc404mekt@gmail.com>