improved build files
fixed compile warning
added policy interface handling multiple transitions triggered
more fsm tests