rename client.py and server.py
#21 move the register function to monsit.api module