Use versioned metrics API
Add debian packaging