*-No, one does not earn Heaven by going to Mass. Mass is not the price of Heaven. Going to Mass is merely the prescribed way of saying "yes" to God's free gift. Mass and Heaven are virtually one and the same.
And so the ultimate concerns need to be counter-balanced with immediate needs. And those immediate needs are governed by balance.
Balance is a tricky concept and it's one that needs to be broken down into concrete concepts if it's going to serve a function in a computer application.
I believe the definition of balance in this case exists somewhere between two concerns: (1) That I make sufficient immediate daily progress towards the milestones on the way to my ultimate goals so that they can be achieved without undue strain, and (2) that I serve the health and capability of my body and mind by enriching daily activity and avoiding excess.
One may add, as an appendix, (3) that I permit as much flexibility as necessary to live life in its unpredictability.
I believe that a computer program can reasonably factor all three of these in to a more or less satisfactory daily agenda. In the case of #1, it would be up to the user to outline "ultimate goals" and "milestones", as well as to estimate how much time certain milestones would take to achieve. For example, how many hours will it take me to become ready to take the Network + certification exam? When should I have taken that exam?