rewrote module to be custom type; added more fleshed out gulpfile; rewrote so it's harder to end up with the two instances of state being the same thing in memory
Rewrite