Added support for different types of state modifications
Added previously missed Mockery integration code
Menu factory extension is refactored to allow passing any form of client action information to menu