osw_server.py split in multi files

One mote enable.