Refactoring/extracting CLI class and serializer

- also rounding up default notch size
- simplifying rendering of the meta info, 
  using consistent ordering.