removed usage of "magic strings" by adding a STATE constant service/module