This PR tackles the issue #203 (closed). Additionally it includes various assertions in the action, state and activation models