Added FSM for video

Intial commit of Fsm