first draft of PrettyTime-class