restructure of module, with pyriot dir, tests dir, etc. updated setup.py and started documenting functions.