Write model skeleton code