Logging improvements

Each logged action has now its own action class. We do not get duplicate
events any more. We can distinguish between remove, add and refactoring
actions