Add necessary files.
Set code compilable.
Move msgs functions to bluetooth_rxtx.c