refactored message system, question save action and added a function that returns questions directory
refactored message system, question save action and added a function that returns questions directory