Modularised python IRC bot