First version of the tipCalculator which is first project of the codepath class