add `__init__`

closes #6
use _format_time from %time

closes #9