add datepicker

This handles #16.