add initial set of metrics & metrics-servlet, add tests