SM: added callbacks
Revert "introduced reasons to SM transitions"

actually we can just use getCurrentMessage

This reverts commit d434922527f8d0dacf9eb922d88d7937838a77e6.
SM: added by class state resolving
Logger: startup logger and singletons