Updated pyapi with formatting and more descriptions,  etc