Reconfoobled the energymotron with typedefs to make the library a bit easier to use.