updated tutorial api part to use services

as dicussed in https://github.com/JonAbrams/synth/issues/59