Moved the state definitions for stations into a class method.
Merge branch 'master' of git://github.com/hopsoft/ellington
update example for new API