add changes from LyV 

1) change self.log to app.log
2) initialize self
add usernames{}

add username into self.initialize, create usernames[user_id] to hold username across classes
Merge pull request #2 from mychocon/master

add changes from LyV