add charlie & rob's react-mvc code