Try moving Ordering objects out to a different class

Still captures a SparkConf from somewhere though and fails to serialize the
task, causing test failure