Generated order and availability models; added basic associations