add crate support to db module
add module to persist irc messages to a db