Initial version after tweaking the Todo example.