removed the callbacks from systick, callbacks like this should be implemented using timers
added an initial hack at the pwm input capture
added a test harness to verify whether the pwm input is correct or not