Moved RDD into separate module