added services model and set up rest actions