Sarang | Changing PrintStream to output to FileDescriptor.out and code refactoring to use log4j library for logging