Base skeleton implementation

Base state machine; Hi and Lo level state machines; interfaces and end
states enum are implemented