Task 5498

Starting point of the project
Task 5499
Added code for calculating pulse