Added api documentation and more work on rst