v 1.0 replaced debug, compatible with python 3, fixed isoformat bug, big thanks to regisd for making important fixes