Refactor AltIMU.
Move factories to separate folder.