Adding validation and relationships to Order model