Fixed spelling
Finished the State pattern