Initialized skeleton for Finite State Machine, buttons management, LCD management.