Introduced use of logger and manual calculation of time. Changed UT to use jmockit (on static method) and mockito instead of system.out. Set some properties in embedded jetty to be used in the metrics captured.