Remove serial module. Remove unused part of code.

Ready to support Sensor change to ARM beaglebone.