tidy the order model (docs still needed). closes #46