Extracting common behaviour from a loop analizer, maybe it can be loaded from a property or another file