added some docs

initial documentation added, currently incomplete.
lots more docs added