Cration of groupAPI and ticketAPI

add method to add, create and update in/from DB