Added and refactored a few things

Added updated_by_last_action and why_run functionality
Merge pull request #11 from svanharmelen/added_why_run_and_update_notify

Added and refactored a few things