Fix FSM.
Test FSM.
Add Errorable class.
Fix FSM.
Add Uri class and unit tests.
Add methods to String class.