Add `port` configuration variable
Minor refactoring
Make sure that the event handlers return an array of strings as opposed to an array of IRC messages
Add testing command