Added communications code

This is the communications code prior to integration with the IMU