Initial commit of prodstate

This version is not actually very functional yet, but I want to have a
base landed so I can start working on it more iteratively instead of as
one giant chunk.

This is prodstate. May it serve a purpose and solve problems for people.