Continued implementation of state system

Implemented initial states and tested transition