where possible for logger add colors, also add configurable patterns(like threadId, service\custom, time level, etc) and allow user to change their positions and apperance, and allow user define custom, also allow for file logger, have ability to split by levels into differen files(have one file which gonna output all levels), add saving to history. I wanna that state machine\fsm is class which should be inherited, states should be define as class\struct inside class which inherited base class of fsm\state machine, then user should write realisation how each state should behave and each state should return or another state, or fail, or success. You should make only one realisation FSM, it should async by default, have ability to nest other state machines to enter to them and wait their result, fsm should be dynamic(this means not all states always gonna be, some of them can be optional on specific conditions). Also i wanna that your create service\manager which can be used as archistrator of FSM. Also define base class for services with interfaces which allow to call them, without directly depending on them