MAde ToyProgram implement RootApplication, root application now takes a
pgraphic