create MentalStateConditionExecutor and use it throughout the code +
many fixes in the analysis namespace