Pulse Counter Flextimer

Move Pulse Counter function to seperate files