Create model and APIRest structure