moves cardinal.py to cardinal
fixes bug in reconnection (datetime.time -> time)