Task 7.12

Added support for follow states and the state machines for mega and mimic.