Refactoring to the logger
General refactorings and improvements to jirabot