Replace print to logging.debug.
Add base_modules and move monitor.py, process.py, and xbee related modules into that.