Cleaned up Beaglebone sensors/actuators/PWM code

Moved some tasks into separate methods
Merge pull request #36 from justinjessada/master

Cleaned up Beaglebone sensors/actuators/PWM code