add packages and add Logged class
Merge remote-tracking branch 'origin/master'