add strict directive, remove superfluous logging
simplify classifying actions
simplify action handling and disable creating dupes
check for duplicate items and do not add them to list if they are present already