complete overhaul; states replaced with functions
Unit tests and value syntax changes
Implement else block
Initial readme
Merge branch 'stateless'