Refactor runner and add UI for displaying messages through STDOUT