convert GlyphFunction into an actual function

split functions unlikely to be used by most users to a helper module, add real docstrings for all glyph functions for autodoc to use.