Initial state

Imported Sparky 13 (2012) code