Started work on documentation

docs/piglass.txt file describes all functions and classes in piglass.py