Added back end code for ME Morale simulation