Creating a model to contain orders