IMU with bluetooth Module

I can only guess, but that code just might be one programme in two parts. If you got rid of all the junk, unnecessary whitespace, and irrelevant comments, you might be able to present it in one piece, so that other people might read it.

You might also be a bit more forthcoming about what you mean by "getting nowhere". You could start with any "somewhere" you have, like does the IMU, whatever that is, work without bluetooth, and can you send a simple "hello" via bluetooth without IMU getting in the way?

I'm guessing that this might well not be an Arduino problem anyway, and all the problems are at the laptop end, i.e. improper use of its bluetooth, or improper use of your terminal.

It is good practice to wire Arduino Tx through a 1k/2k voltage divider. It is not usually fatal if you don't.
You might find the following background notes useful

http://homepages.ihug.com.au/~npyner/Arduino/GUIDE_2BT.pdf
http://homepages.ihug.com.au/~npyner/Arduino/BT_2_WAY.ino