added factory defining the order model, made /add a child of order