First step in integration of sled_test.cc and sled.cc
Setup of state machines in sled_create()