updated class model
added api specification