finished little mock api example with services