added docs to code
added docs to code

alanbernstein/pilosa,travisturner/pilosa,linhvo/pilosa,alanbernstein/pilosa,linhvo/pilosa,alanbernstein/pilosa,raskle/pilosa,linhvo/pilosa,raskle/pilosa,raskle/pilosa