First skeleton implementation of a simple FLAT, BUY and SELL FSM.