fix ping, rename and move code around
0.0.2.2: [ct.py] fix ping, forgot to update next ping time after pinging
0.0.2.1: [tm.py] rename `task manager` to `scheduler`
0.0.2.0: [ct.py, register.py] move registry function to another module