support for starting from console
changed from sql queries to ef framework in IrcBot