Split instrument into seperate file

Use stdint.h for typedefs