Moved parsing of estimates and state determination into separate
class.