Add beginnings of more robust time library