Added console calculator. Fixed bug with cycle dependencies in modules FiniteStateMachine and MathematicalCalculator