Created the Order class which will handle the order retrieval from the database