remove duplicate license header
minor refactoring
added an ID for every log event