Updating examples
Expanding the API