Moved graph() to functiontools.
Moved play() to functiontools.