adding examples to the API directory