basic data structure, time helpers, command line interface