initial connecting of modules
included files instead of dumping them all in one monolithic source file
modified imu.p to have a get_data function