refactor customer model with order inside