Added example API. Started on library infrastructure.