move touche functions into a class
fix docstring
Merge pull request #2 from jackjennings/touche_class

Move touche functions into a class
Small performance optimization

as suggested by Petr van Blokland, thanks!