added logging of the API

also added the first set of options