Replaced Order with Ranking and split it into metadata, domain model and logic, because it just makes it so much easier. I have NOT tested it at all so it will probably fail on testing
Fixed failing tests