Move plugin on_message calling into separate method
Move plugin execution into own thread, close #26