Basic working framework, albeit w reactjs state in the wrong place.